//
//  HEIMInputView.h
//  HealthFamily
//
//  Created by 吴欧 on 2020/12/2.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HEIMMessageModel.h"
#import "HEIMGlobalDefs.h"

NS_ASSUME_NONNULL_BEGIN

@protocol HEIMInputViewDelegate <NSObject>

- (void)sendMessage:(HEIMMessageModel *)message;

@end

@interface HEIMInputView : UIView

@property (nonatomic, strong) GDTableView *tableView;

@property (nonatomic, assign) HEIMUserModelType type;

@property (nonatomic, weak) id <HEIMInputViewDelegate> delegate;

@property (nonatomic, strong) NSMutableArray <HEIMKitInfo *> *teamUserList;

- (instancetype)initWithFrame:(CGRect)frame type:(HEIMUserModelType)type;

- (void)resignFirstResponder;

- (void)hideView;

- (void)addATPerson:(HEIMKitInfo *)info;

@end

NS_ASSUME_NONNULL_END
